﻿using Adnc.Application.Shared.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace WYT.Ord.Application.Contracts.Dtos.Order
{
    /// <summary>
    /// 物流追踪
    /// </summary>
    public class LogisticsTrackingDto : IDto
    {
        /// <summary>
        /// 快递单号
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 快递公司编码
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 信息
        /// </summary>
        public RecordDto[] List { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Deliverystatus { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Issign { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ExpName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ExpSite { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ExpPhone { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Logo { get;set; }

        /// <summary>
        /// 
        /// </summary>
        public string Courier { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string CourierPhone { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string UpdateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string TakeTime { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    public class RecordDto : IDto
    {
        /// <summary>
        /// 时间
        /// </summary>
        public string Time { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public string Status { get; set; }

    } 

    /// <summary>
    /// 
    /// </summary>
    public class LogisticsTrackingResultDto
    {
        /// <summary>
        /// 
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Msg { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public LogisticsTrackingDto Result { get; set; }
    }
}
